package com.mooc.swxy.pojo;

import lombok.Data;

import java.util.List;

/**
 * @author Siaze
 * @date 2022/4/19
 */

@Data
public class Chapter {

    private long _code;
    private String msg;
    private boolean status;

    private Result result;

    @Data
    public class Result {
        private List<Unit> list;

        @Data
        public class Unit {
            private List<NodeList> nodeList;
            private long id;
            private String name;

            @Data
            public class NodeList {
                private String id;
                private String name;
                private String voteUrl;
                private boolean tabVideo;
                private boolean tabFile;
                private boolean tabVote;
                private boolean tabWork;
                private boolean tabExam;
                private int videoDuration;
                private String unlockTime;
                private int nodeLock;
                private long unlockTimeStamp;
                private int videoState;
                private String duration;
                private String index;
                private int idx;
            }
        }
    }
}
